package com.fqgj.xjd.user.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.fqgj.xjd.user.dao.UserAuthStatusDao;
import com.fqgj.xjd.user.entity.UserAuthStatusEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

/**
* User: Karl
* Date: 2020-02-01
* Time: 15:29:44.652
*/

@Repository
public class UserAuthStatusDaoImpl extends AbstractBaseMapper<UserAuthStatusEntity> implements UserAuthStatusDao {

    @Override
    public UserAuthStatusEntity getUserAuthStatusByUserCode(String userCode) {
        Map params = new HashMap();
        params.put("userCode",userCode);
        return getSqlSession().selectOne(getStatement("getUserAuthStatusByUserCode"),params);
    }
}